\name{GVECpred}
\alias{GVECpred}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Computes GVEC forecasts.
}
\description{
We use recursive prediction to calculate forecasts to a given horizon.}
\usage{
GVECfit(y, s, model, h )
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{y}{
A multivariate time series to wich append forecasts.
}
\item{s}{
Seasonality: number of observations per year. If nonseasonal, s=1.}
\item{model}{
A list with the following items: \code{model$deltas} distinct polynomials; \code{model$determ} contains the deterministic terms; 
\code{model$pvec} autoregressive order.}
\item{h}{
Forecasting horizon.}
}
\details{
More information in the article.}
\value{A time series object with the forecasts.
}
\references{
Arbues, Ledo (2013).}
\author{
Ignacio Arbu�s.}
\note{
%%  ~~further notes~~
}

%% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
xmat<-apply(matrix(rnorm(2*n),nrow=n),2,cumsum)
x<-ts(data=xmat,frequency=4,start=c(1,1))
delta1<-polynomial(coef=c(1))
deltas<-list(delta1)
model<-GVECfit(x,deltas,p=1,s=1,d=list())
pred<-GVECpred(x,1,model,8)
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }
\keyword{ ~kwd2 }% __ONLY ONE__ keyword per line
